var core = require('core');
var db = core.db;

var getRegion = function(req, res, next){
    console.log(req.query);
    core.api("open/getRegion", req.query, function(err, body){
        if(!err)
            res.send(body);
    });
};

module.exports = getRegion;
